var jsonrpc = new JSONRpcClient("JSON-RPC");

var baseDao = jsonrpc.baseDao;

var flowExecuteService = jsonrpc.flowExecuteService;

function getOneDocument(sql)
{
	return eval('(' + baseDao.getOne(sql) + ')');
}

function getListDocument(sql)
{
	return eval('(' + baseDao.getList(sql) + ')');
}